Skip to main content
Version: 3.x.x

UseEventMessagesOptionsType


import { UseEventMessagesOptionsType } from "@hyper-fetch/react"

Description

Defined in react/src/hooks/use-event-messages/use-event-messages.types.ts:1

Preview

type UseEventMessagesOptionsType<ResponsesType> = {
dependencyTracking: boolean;
filter: (data: ResponsesType, event: MessageEvent<ResponsesType>) => boolean | string[];
}

Structure

{
dependencyTracking: boolean;
filter: (data: ResponsesType, event: MessageEvent<ResponsesType>) => boolean | string[];
}